<template>
  <div id="app">
    <el-container>
      <el-header>
        <div style="width: 1200px; height: 80%; background: rgb(255, 235, 59);margin-left:150px;">
          <span style="float: left; margin-left: 25px;margin-top:-3px;"><b>LOGO</b></span>

          <ul class="ul">
            <li>创意库</li>
            <li>精选BP广场</li>
            <li>讨论区</li>
            <li>创业小课堂</li>
          </ul>

          <el-row class="demo-avatar demo-basic headpic">
            <el-col :span="12">
              <div class="demo-basic--circle">
                <div class="block">
                  <el-avatar :size="42" :src="circleUrl"></el-avatar>
                </div>
              </div>
            </el-col>
          </el-row>
        </div>
      </el-header>
      <el-main>
        <Aside/>
        <Main />
      </el-main>
    </el-container>
  </div>
</template>

<script>
import Aside from "./components/Aside";
import Main from "./components/Main.vue";
export default {
  name: "App",
  data() {
    return {
      circleUrl:
        "https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg",
    };
  },
  created(){
      console.log($)
  },
  components: {
    Aside,
    Main,
  },
};
</script>

<style>
.el-header {
  background: rgb(44, 44, 49);
  text-align: center;
  line-height: 60px;
}

/* .el-aside {
  background: rgb(44,44,49);
  text-align: center;
  height: 590px;
  line-height: 100px;
} */

.el-main {
  background: rgb(44, 44, 49);
  color:white;
  height:790px;
  line-height: 10px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}

.ul {
  width: 800px;
  list-style-type: none;
  overflow: hidden;
  margin: 0 0;
}
.ul li {
  float: left;
  margin-left: 75px;
  line-height: 48px;
  position: relative;
  left: 180px;
}
.headpic {
  float: right;
  top: -45px;
  left: -80px;
}
</style>
